package com.yanqu.road.web.mgr;

import com.yanqu.road.server.TempMgr;
import com.yanqu.road.web.WebServer;

/**
 * @author ：zfr
 * @date ：2021/6/30 10:47
 */
public class ConfigManageMgr extends TempMgr {
    @Override
    public boolean init() throws Exception {
        return true;
    }

    @Override
    public boolean reload() throws Exception {
        for (TempMgr mgr : WebServer.getInstance().getMgrList()) {
            mgr.reloadConfig();
        }
        return true;
    }

    @Override
    public boolean reloadConfig() throws Exception {
        return true;
    }

    @Override
    public boolean reloadData() throws Exception {
        return true;
    }

    @Override
    public boolean stop() {
        return false;
    }
}
